home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 64
/
MOBICLIC 64.ISO
/
DATA
/
AIDE
/
AIDE00.dir
/
00007_Script_7
< prev
next >
Wrap
Text File
|
2004-02-03
|
920b
|
42 lines
--BOUTONS AIDE
property numero, LaPiste, LeNom, LeTexte, LimageRoll
-------
on beginSprite me
numero = me.spriteNum
LeTexte = me.spriteNum + 20
LimageRoll = me.spriteNum + 40
LaPiste = sprite(numero)
LeNom = LaPiste.member.name
end
-------
on MouseEnter
if the pauseState = 1 then exit
cursor 280
LaPiste.member = LeNom&"_R"
sprite(LeTexte).visible = 1
sprite(LimageRoll).visible = 1
updateStage
end
-------
on mouseLeave
if the pauseState = 1 then exit
cursor -1
sprite(LeTexte).visible = 0
sprite(LimageRoll).visible = 0
puppetSprite numero,false
end
-------
on mouseUp
if the pauseState = 1 then exit
sound close 3
cursor-1
LaPiste.member = LeNom&"_R"
sprite(LeTexte).visible = 1
sprite(LimageRoll).visible = 1
if numero<24 then
joueson "aide0"&(numero-14)
else
joueson "aide"&(numero-14)
end if
go to "COMMENT"
end